package com.mlj.dao;

import com.mlj.pojo.User;
import com.mlj.pojo.User2;

import java.util.List;

public interface UserMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(User record);

    User selectByPrimaryKey(Integer id);

    List<User> selectAll();

    int updateByPrimaryKey(User record);

    User2 selectUser(String userName);

    int updatePassword(String pw, Integer user_id);
}